Create Ad Unit
Creates a new ad unit. The code is normalized to lowercase on save and may only contain a-z, 0-9, and _.*!:()-. Maximum path depth is 6.
Access Control:
Admin and Operator accounts have full access (create/read/update/delete) to ad unit resources.
Advertiser accounts have no access to this endpoint — see GET /ad-units/targets for the
lightweight, allocation-target-selection view available to advertisers.
Authorizations
Bearer authentication. Pass the access token in the Authorization: Bearer <token> header.
Body
Request body for POST /ad-units.
Path resolution rules:
- No
parent_id:path = code - With
parent_id:path = {parent.path}/{code}
Ad unit code identifier. Used in ad tags. Immutable after creation. (1-100 chars)
1 - 100Ad unit display name. (1-255 chars)
1 - 255Targeting metadata sizes Distinct from display/video.w/h which govern serving and rendering.
Description of the ad unit.
Display placement configuration.
Ad unit extension fields.
Canonical Placement ID for OpenRTB imp.ext.gpid.
Indicates if this is an interstitial placement, where 0 = no, 1 = yes. Applies across display, video, and native.
0, 1 Whether the ad unit is active.
Based on OpenRTB Native Ads 1.2 Native Markup Request Object, not the AdCOM standard native format
Parent ad unit ID. Determines hierarchy. Immutable after creation.
Video placement configuration.
Response
Successful Response
Response schema for AdUnit mutation operations (create/patch).
Ad unit code identifier.
The ID of the user who created the ad unit.
ID of the ad unit (uuid7)
Name of the ad unit.
Hierarchical path of the ad unit (e.g., "parent_id/child_id").
Targeting metadata sizes Distinct from display/video.w/h which govern serving and rendering.
Description of the ad unit.
Display placement configuration.
Ad unit extension fields.
Canonical Placement ID for OpenRTB imp.ext.gpid.
Indicates if this is an interstitial placement, where 0 = no, 1 = yes. Applies across display, video, and native.
0, 1 Whether the ad unit is active.
Based on OpenRTB Native Ads 1.2 Native Markup Request Object, not the AdCOM standard native format
Video placement configuration.
